package gzj.service.moment;

import gzj.pojo.*;

import java.util.List;

/**
 * @Author ☞☞ 祝晨轩
 * @DateTime ☞☞ 2019/7/13 8:22
 * 不积跬步，无以至千里；不积小流，无以成江海。
 * 键盘敲烂，月薪过万。
 */
public interface MomentService {
    public List<Moment> selectMomentList(PageSupport pageSupport);

    public List<Moment> getMomentList(int category_id,int school_id, PageSupport pageSupport);

    public int getCountBySchoolAndCategory(int school_id,int category_id);

    public List<School> getSchoolList();

    public List<Category> getCategoryList();

    public String getCategoryByCategory_id(int category_id);

    String getSchoolBySchool_id(int school_id);

    int addLike(int parseInt);

    List<Moment> getMomentListBySchool(int school_id, PageSupport pageSupport);

    List<Moment> getMomentListByCategory(int category_id, PageSupport pageSupport);

    int addMoment(int category_id, int school_id, String userName, String content,String img);

    int del(int school_id);

    int addCommenNum(int moment_id);
    int addCommen(int moment_id,String content,String commenter);

    List<MomentComment> seletComment(int parseInt);

    Moment getMoment(int moment_id);

    List<Moment> getMomentByUid(int uid);
}
